﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.UI
{
    public static class CustomMessageBox
    {
        public static System.Windows.MessageBoxResult ShowInfo(string message, string caption = "")
        {
             return System.Windows.MessageBox.Show(message, caption,  System.Windows.MessageBoxButton.OK, System.Windows.MessageBoxImage.Information);
        }

        public static System.Windows.MessageBoxResult ShowWarning(string message, string caption = "")
        {
            return System.Windows.MessageBox.Show(message, caption, System.Windows.MessageBoxButton.OK, System.Windows.MessageBoxImage.Warning);
        }

        public static System.Windows.MessageBoxResult ShowError(string message, string caption = "")
        {
            return System.Windows.MessageBox.Show(message, caption, System.Windows.MessageBoxButton.OK, System.Windows.MessageBoxImage.Error);
        }
    }
}
